package com.smartcommunity.api.faceLib.fallBack;

import com.smartcommunity.api.faceLib.FaceLibApi;
import com.smartcommunity.bean.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.Map;

@Component
@RequestMapping("fallback")
@Slf4j
public class FaceLibApiFallBack implements FaceLibApi {

    @Override
    public Result addLibFeatureBatch(Map<String, Object> map) {
        log.info("调用protection-service接口：addLibFeatureBatch 时异常，服务不存在");
        return null;
    }

    @Override
    public Result deleteLibFeature(Map<String, Object> map) {
        log.info("调用protection-service接口：deleteLibFeature 时异常，服务不存在");
        return null;
    }

    @Override
    public Result deleteLib(Map<String, Object> map) {
        log.info("调用protection-service接口：deleteLib 时异常，服务不存在");
        return null;
    }
}
